<div class="faults view">
<h2><?php  echo __('Fault');?></h2>
	<dl>
		<dt><?php echo __('Date Created'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['date_created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User Name'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['user_name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Title Error'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['title_error']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Level'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['level']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Status'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['status']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Content Error'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['content_error']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date Respond'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['date_respond']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Note Respond'); ?></dt>
		<dd>
			<?php echo h($fault['Fault']['note_respond']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Fault'); ?></dt>
		<dd>
			<?php echo $this->Html->link($fault['Fault'][''], array('controller' => 'faults', 'action' => 'view', $fault['Fault']['id'])); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Fault'), array('action' => 'edit', $fault['Fault']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Fault'), array('action' => 'delete', $fault['Fault']['id']), null, __('Are you sure you want to delete # %s?', $fault['Fault']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Faults'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Fault'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Faults'), array('controller' => 'faults', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Fault'), array('controller' => 'faults', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Faults');?></h3>
	<?php if (!empty($fault['Fault'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Date Created'); ?></th>
		<th><?php echo __('User Name'); ?></th>
		<th><?php echo __('Title Error'); ?></th>
		<th><?php echo __('Level'); ?></th>
		<th><?php echo __('Status'); ?></th>
		<th><?php echo __('Content Error'); ?></th>
		<th><?php echo __('Date Respond'); ?></th>
		<th><?php echo __('Note Respond'); ?></th>
		<th><?php echo __('Fault Id'); ?></th>
		<th class="actions"><?php echo __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($fault['Fault'] as $fault): ?>
		<tr>
			<td><?php echo $fault['date_created'];?></td>
			<td><?php echo $fault['user_name'];?></td>
			<td><?php echo $fault['title_error'];?></td>
			<td><?php echo $fault['level'];?></td>
			<td><?php echo $fault['status'];?></td>
			<td><?php echo $fault['content_error'];?></td>
			<td><?php echo $fault['date_respond'];?></td>
			<td><?php echo $fault['note_respond'];?></td>
			<td><?php echo $fault['fault_id'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'faults', 'action' => 'view', $fault['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'faults', 'action' => 'edit', $fault['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'faults', 'action' => 'delete', $fault['id']), null, __('Are you sure you want to delete # %s?', $fault['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Fault'), array('controller' => 'faults', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
